export const userRouter = {
  path: '/userRights',
  name: 'userRights',
  redirect: '/userRights/userManagement',
  component: () => import('@/views/userRights'),
  meta: {
    title: '用户权限',
  },
  children: [{
      path: '/userRights/userManagement',
      name: 'userManagement',
      component: () => import('@/views/userRights/userManagement'),
      meta: {
        title: '用户管理',
      },
    },
    {
      path: '/userRights/role',
      name: 'role',
      component: () => import('@/views/userRights/role'),
      meta: {
        title: '角色管理',
      },
    },
    {
      path: '/userRights/Vip',
      name: 'Vip',
      component: () => import('@/views/userRights/Vip'),
      meta: {
        title: '会员管理',
      },
    },
    {
      path: '/userRights/organization',
      name: 'organization',
      hidden:false,
      component: () => import('@/views/userRights/organization'),
      meta: {
        title: '组织管理',
      },
    }

  ]
}
